
package com.tenentia.pcmps.swm.util.pdf;

import java.util.Map;

/**
 * 
 * @author tEnEntia, S.L.N.E.
 * 
 */
public class PDFUtilities {

	private PDFUtilities() {

		super();
	}

	public static byte[] generate(String templateAlias, Map<String, Object> templateParameters) throws Exception {

		PDFGenerator pdfGenerator = PDFGeneratorFactory.getInstance(templateAlias);
		return pdfGenerator.generate(templateParameters);
	}

}
